import { Slot, Stack } from "expo-router";
export default function RootLayout() {
  return (
    <Stack>
      <Stack.Screen name="LoginModel" options={{ headerShown: false }} />
      <Stack.Screen name="(tabs)" options={{ 
        headerShown: false
       }} />
      <Stack.Screen name="HomeModel" options={{ headerShown: false }} />
      <Stack.Screen name="DescPage" options={{ headerShown: true,headerTitle: "详情页" , 
        headerStyle: { backgroundColor: 'rgb(151,206,53)', },
        headerTintColor: 'white',
        headerTitleAlign: "center"
      }} />
      <Stack.Screen name="AddressPage" options={{ headerShown: true,headerTitle: "我的地址" }} />
      <Stack.Screen name="buyPage" options={{ headerShown: true,headerTitle: "立即付款" }} />
      <Stack.Screen name="+not-found" options={{ headerShown: false }} />
      <Stack.Screen name="userInfo" options={{
        title: '个人信息',
        headerStyle: { backgroundColor: 'rgb(151,206,53)', },
        headerTintColor: 'white',
        headerTitleAlign: "center"
      }} />
      <Stack.Screen name="myOrder" options={{
        title: '我的订单',
        headerStyle: { backgroundColor: 'rgb(151,206,53)' },
        headerTintColor: 'white',
        headerTitleAlign: "center"
      }} />
      <Stack.Screen name="myCollect" options={{
        title: '我的收藏',
        headerStyle: { backgroundColor: 'rgb(151,206,53)' },
        headerTintColor: 'white',
        headerTitleAlign: "center"
      }} />
      <Stack.Screen name="feedBack" options={{
        title: '意见反馈',
        headerStyle: { backgroundColor: 'rgb(151,206,53)' },
        headerTintColor: 'white',
        headerTitleAlign: "center"
      }} />
      <Stack.Screen name="camera" options={{
        title: '相机',
        headerStyle: { backgroundColor: 'rgb(151,206,53)' },
        headerTintColor: 'white',
        headerTitleAlign: "center"
      }} />
       <Stack.Screen name="picker" options={{
        title: '相册',
        headerStyle: { backgroundColor: 'rgb(151,206,53)' },
        headerTintColor: 'white',
        headerTitleAlign: "center"
      }} />
    </Stack>
  );
}
